package com.maciqing.mall.member.feign;

import com.maciqing.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author maciqing
 * @create 2021-01-22 10:31
 *
 * 这是一个声明式远程调用
 */
@FeignClient("mall-coupon")
public interface CouponsFeignService {

    @RequestMapping("/coupon/coupon/member/coupons")
    public R membercoupons();
}
